LIBRARY		libpgm

DATA			NONSHARED

EXPORTS
	pgm_init
	pgm_readpgminitrest
	pgm_readpgminit
	pgm_readpgmrow
	pgm_readpgm
	pgm_writepgminit
	pgm_writepgmrow
	pgm_writepgm

	pgm_pbmmaxval

IMPORTS
	libpbm.pm_error
	libpbm.pm_freerow
	libpbm.pm_allocrow
	libpbm.pm_allocarray

	libpbm.pbm_init
	libpbm.pbm_getint
	libpbm.pbm_readmagicnumber
	libpbm.pbm_getrawbyte
	libpbm.pbm_readpbmrow
	libpbm.pbm_readpbminitrest

   pbmcrt._PGLOBAL_PTR
   pbmcrt._cputsused
   pbmcrt._critlib_except                            ; ****
   pbmcrt._ctype
   pbmcrt._daylight
   pbmcrt._DosSelToFlat                              ; ****
   pbmcrt._DosFlatToSel                              ; ****
   pbmcrt._doserrno
   pbmcrt._environ                                   ; ****
   pbmcrt.__fac
   pbmcrt._getcheused
   pbmcrt._ilog2
   pbmcrt._InitBuf
   pbmcrt._osmajor
   pbmcrt._osminor
   pbmcrt._osmode
   pbmcrt._timezone
   pbmcrt._tzname
   pbmcrt._ungetchused
   pbmcrt._version
   pbmcrt.errno
   pbmcrt.stderr
   pbmcrt.stdin
   pbmcrt.stdout
   pbmcrt._CRT_init                                  ; ****
   pbmcrt._CheckIfMem
   pbmcrt._EXE_Exception                             ; ****
   pbmcrt._Exception                                 ; ****
   pbmcrt._Flush
   pbmcrt._Fmprs
   pbmcrt._GetErrMsg
   pbmcrt._Lib_excpt
   pbmcrt._PrintErrMsg                               ; ****
   pbmcrt.__EDC3216
   pbmcrt.__EDCThunkProlog
   pbmcrt.__dofmto
   pbmcrt.__goscan
   pbmcrt._assert
   pbmcrt._atofieee
   pbmcrt._atold
   pbmcrt._clear87
   pbmcrt._control87
   pbmcrt._cputs
   pbmcrt._ddused
   pbmcrt._debug_calloc
   pbmcrt._debug_free
   pbmcrt._debug_malloc
   pbmcrt._debug_realloc
   pbmcrt._debug_heapmin
   pbmcrt._dposqnan
   pbmcrt._dump_allocated
   pbmcrt._ecvt
   pbmcrt._erf
   pbmcrt._erfc
   pbmcrt._exception_procinit                        ; ****
   pbmcrt._exception_dllinit                         ; ****
   pbmcrt._fcloseall
   pbmcrt._fcvt
   pbmcrt._fltused
   pbmcrt._fopenused
   pbmcrt._fposqnan
   pbmcrt._fposinfi
   pbmcrt._fpreset
   pbmcrt._fprintf_ansi
   pbmcrt._fprintfieee
   pbmcrt._freemod
   pbmcrt._FreeFCB
   pbmcrt._fscanf_ansi
   pbmcrt._fscanfieee
   pbmcrt._fullpath
   pbmcrt._gamma
   pbmcrt._gcvt
   pbmcrt._getche
   pbmcrt._getcx
   pbmcrt._heap_check
   pbmcrt._heapmin
   pbmcrt._hypot
   pbmcrt._infinity
   pbmcrt._InitFCB
   pbmcrt._internal_err
   pbmcrt._itoa
   pbmcrt._j0
   pbmcrt._j1
   pbmcrt._jn
   pbmcrt._ldposqnan
   pbmcrt._ldposinfi
   pbmcrt._loadmod
   pbmcrt._ltoa
   pbmcrt._matherr                                   ; ****
   pbmcrt._mig_eib_store
   pbmcrt._printf_ansi
   pbmcrt._printfieee
   pbmcrt._ProfileHook16
   pbmcrt._ProfileHook32
   pbmcrt._putenv
   pbmcrt._rmtmp
   pbmcrt._scanf_ansi
   pbmcrt._scanfieee
   pbmcrt._sprintf_ansi
   pbmcrt._sprintfieee
   pbmcrt._sscanf_ansi
   pbmcrt._sscanfieee
   pbmcrt._status87
   pbmcrt._strtodieee
   pbmcrt._terminate                                 ; ****
   pbmcrt._test_handle
   pbmcrt._tzset
   pbmcrt._ultoa
   pbmcrt._ungetch
   pbmcrt._vfprintfieee
   pbmcrt._vprintfieee
   pbmcrt._vsprintfieee
   pbmcrt._y0
   pbmcrt._y1
   pbmcrt._yn
   pbmcrt.abort
   pbmcrt.abs
   pbmcrt.acos
   pbmcrt.asctime
   pbmcrt.asin
   pbmcrt.atan
   pbmcrt.atan2
   pbmcrt.atexit
   pbmcrt.atof
   pbmcrt.atoi
   pbmcrt.atol
   pbmcrt.bsearch
   pbmcrt.calloc
   pbmcrt.ceil
   pbmcrt.clearerr
   pbmcrt.clock
   pbmcrt.cos
   pbmcrt.cosh
   pbmcrt.ctime
   pbmcrt.difftime
   pbmcrt.div
   pbmcrt.exit                                       ; ****
   pbmcrt.exp
   pbmcrt.fabs
   pbmcrt.fclose
   pbmcrt.feof
   pbmcrt.ferror
   pbmcrt.fflush
   pbmcrt.fgetc
   pbmcrt.fgetpos
   pbmcrt.fgets
   pbmcrt.floor
   pbmcrt.fmod
   pbmcrt.fopen
   pbmcrt.fprintf
   pbmcrt.fputc
   pbmcrt.fputs
   pbmcrt.fread
   pbmcrt.free                                       ; ****
   pbmcrt.freopen
   pbmcrt.frexp
   pbmcrt.fscanf
   pbmcrt.fseek
   pbmcrt.fsetpos
   pbmcrt.ftell
   pbmcrt.fwrite
   pbmcrt.getc
   pbmcrt.getchar
   pbmcrt.getenv
   pbmcrt.gets
   pbmcrt.gmtime
   pbmcrt.isalnum
   pbmcrt.isalpha
   pbmcrt.iscntrl
   pbmcrt.isdigit
   pbmcrt.isgraph
   pbmcrt.islower
   pbmcrt.isprint
   pbmcrt.ispunct
   pbmcrt.isspace
   pbmcrt.isupper
   pbmcrt.isxdigit
   pbmcrt.labs
   pbmcrt.ldexp
   pbmcrt.ldiv
   pbmcrt.localeconv
   pbmcrt.localtime
   pbmcrt.log
   pbmcrt.log10
   pbmcrt.longjmp
   pbmcrt.malloc                                     ; ****
   pbmcrt.mblen
   pbmcrt.mbstowcs
   pbmcrt.mbtowc
   pbmcrt.memccpy
   pbmcrt.memchr
   pbmcrt.memcmp
   pbmcrt.memcpy
   pbmcrt.memicmp
   pbmcrt.memmove
   pbmcrt.memset
   pbmcrt.mktime
   pbmcrt.modf
   pbmcrt.perror
   pbmcrt.pow
   pbmcrt.printf
   pbmcrt.putc
   pbmcrt.putchar
   pbmcrt.puts
   pbmcrt.qsort
   pbmcrt.raise
   pbmcrt.rand
   pbmcrt.realloc
   pbmcrt.remove
   pbmcrt.rename
   pbmcrt.rewind
   pbmcrt.scanf
   pbmcrt.setbuf
   pbmcrt.setjmp
   pbmcrt.setlocale
   pbmcrt.setvbuf
   pbmcrt.signal
   pbmcrt.sin
   pbmcrt.sinh
   pbmcrt.sprintf
   pbmcrt.sqrt
   pbmcrt.srand
   pbmcrt.sscanf
   pbmcrt.strcat
   pbmcrt.strchr
   pbmcrt.strcmp
   pbmcrt.strcoll
   pbmcrt.strcpy
   pbmcrt.strcspn
   pbmcrt.strdup                                     ; ****
   pbmcrt.strerror
   pbmcrt.strftime
   pbmcrt.stricmp
   pbmcrt.strlen
   pbmcrt.strlwr
   pbmcrt.strncat
   pbmcrt.strncmp
   pbmcrt.strncpy
   pbmcrt.strnicmp
   pbmcrt.strpbrk                                    ; ****
   pbmcrt.strrchr
   pbmcrt.strspn
   pbmcrt.strstr
   pbmcrt.strtod
   pbmcrt.strtok
   pbmcrt.strtold
   pbmcrt.strtol
   pbmcrt.strtoul
   pbmcrt.strupr
   pbmcrt.strxfrm
   pbmcrt.system
   pbmcrt.tan
   pbmcrt.tanh
   pbmcrt.time
   pbmcrt.tmpfile
   pbmcrt.tmpnam
   pbmcrt.tolower
   pbmcrt.toupper
   pbmcrt.ungetc
   pbmcrt.vfprintf
   pbmcrt.vprintf
   pbmcrt.vsprintf
   pbmcrt.wcscat
   pbmcrt.wcschr
   pbmcrt.wcscmp
   pbmcrt.wcscpy
   pbmcrt.wcscspn
   pbmcrt.wcslen
   pbmcrt.wcsncat
   pbmcrt.wcsncmp
   pbmcrt.wcsncpy
   pbmcrt.wcspbrk
   pbmcrt.wcsrchr
   pbmcrt.wcsspn
   pbmcrt.wcstombs
   pbmcrt.wcswcs
   pbmcrt.wctomb

   pbmcrt._chdrive
   pbmcrt._execl_ansi
   pbmcrt._execle_ansi
   pbmcrt._execlp_ansi
   pbmcrt._execlpe_ansi
   pbmcrt._exit
   pbmcrt._getdcwd
   pbmcrt._getdrive
   pbmcrt._lrotl
   pbmcrt._lrotr
   pbmcrt._makepath
   pbmcrt._rotl
   pbmcrt._rotr
   pbmcrt._searchenv
   pbmcrt._spawnl_ansi
   pbmcrt._spawnle_ansi
   pbmcrt._spawnlp_ansi
   pbmcrt._spawnlpe_ansi
   pbmcrt._splitpath
   pbmcrt._strdate
   pbmcrt._strerror
   pbmcrt._strtime
   pbmcrt._tcalloc
   pbmcrt._tfree
   pbmcrt._tmalloc
   pbmcrt._trealloc
   pbmcrt.access
   pbmcrt.cabs
   pbmcrt.cgets
   pbmcrt.chdir
   pbmcrt.chmod
   pbmcrt.chsize
   pbmcrt.close
   pbmcrt.cprintf
   pbmcrt.cputs
   pbmcrt.creat
   pbmcrt.cscanf
   pbmcrt.cwait
   pbmcrt.dup
   pbmcrt.dup2
   pbmcrt.eof
   pbmcrt.execl
   pbmcrt.execle
   pbmcrt.execlp
   pbmcrt.execlpe
   pbmcrt.execv
   pbmcrt.execve
   pbmcrt.execvp
   pbmcrt.execvpe
   pbmcrt.fdopen
   pbmcrt.fgetchar
   pbmcrt.filelength
   pbmcrt.fileno
   pbmcrt.flushall
   pbmcrt.fputchar
   pbmcrt.fstat
   pbmcrt.ftime
   pbmcrt.getch
   pbmcrt.getche
   pbmcrt.getcwd
   pbmcrt.getpid
   pbmcrt.isatty
   pbmcrt.kbhit
   pbmcrt.lfind
   pbmcrt.lsearch
   pbmcrt.lseek
   pbmcrt.mkdir
   pbmcrt.onexit
   pbmcrt.open
   pbmcrt.putch
   pbmcrt.read
   pbmcrt.rmdir
   pbmcrt.setmode
   pbmcrt.sopen
   pbmcrt.spawnl
   pbmcrt.spawnle
   pbmcrt.spawnlp
   pbmcrt.spawnlpe
   pbmcrt.spawnv
   pbmcrt.spawnve
   pbmcrt.spawnvp
   pbmcrt.spawnvpe
   pbmcrt.stat
   pbmcrt.strcmpi
   pbmcrt.strnset
   pbmcrt.strrev
   pbmcrt.strset
   pbmcrt.swab
   pbmcrt.tell
   pbmcrt.tempnam
   pbmcrt.umask
   pbmcrt.ungetch
   pbmcrt.unlink
   pbmcrt.utime
   pbmcrt.wait
   pbmcrt.write
